package yy.yyds.basic.query.util;

import lombok.Data;


public class AjaxResult {
    /*表示成功还是失败*/
    private  Boolean success = true;

    private  String messge ="操作成功";


    public Boolean getSuccess() {
        return success;
    }
    public static AjaxResult me(){
        return new AjaxResult();
    }
    public AjaxResult setSuccess(Boolean success) {
        this.success = success;
        return this;
    }

    public String getMessge() {
        return messge;
    }


    public AjaxResult setMessage(String message){
        this.messge = message;
        return this;
    }
}
